package com.dhecp.project.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dhecp.project.common.service.impl.BaseModuleServiceImpl;
import com.dhecp.project.flowable.domain.SysProcessInstance;
import com.dhecp.project.flowable.mapper.SysProcessInstanceMapper;
import com.dhecp.project.system.service.ProcessInstanceService;

/**
 * @author XDH
 */
@Service
public class ProcessInstanceServiceImpl extends BaseModuleServiceImpl implements ProcessInstanceService {

	@Autowired
	private SysProcessInstanceMapper businessMapper;

	@Override
	public SysProcessInstance queryByProcInstId(String procInstId) {
		return businessMapper.findSysProcessInstanceByProcInstId(procInstId);
	}

}
